package com.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@TableName(value = "dp_user")
public class User implements Serializable {
    @TableId(value = "user_id" ,type = IdType.NONE)
    private Integer userId;

    @TableField(value = "user_name")
    private String username;

    @TableField(value = "age")
    private int age;


}
